package com.example.demo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.servlet.ModelAndView;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: Zp
 * @Date: 2022/04/30/16:17
 * @Description:
 */
public class IndexController {
    @GetMapping("/")
    public ModelAndView index() {
        ModelAndView modelAndView = new ModelAndView();

        modelAndView.setViewName("entityRecognition");
        return modelAndView;
    }
    public ModelAndView test1() {
        ModelAndView modelAndView = new ModelAndView();

        modelAndView.setViewName("entityRecognition");
        return modelAndView;
    }
}
